package com.designPatterns.decorator;

public class Mocha extends Decorator {
	private Beverage beverage;
	
	

	public Mocha(Beverage beverage) {
		super();
		this.beverage = beverage;
	}

	@Override
	public String getDescription() {
		return this.beverage.getDescription()+"mocha:1.5";
	}
	
	@Override
	public double cost() {
		return this.beverage.cost()+1.5;
	}
	
}
